package com.priusoft.api.common.crypto;

public class DESedeUserPasswordCipher {

    private final static String ENCRYPT_KEY = "cap_user";

    public static String encrypt(String plaintext) throws Exception {
        return CryptoUtil.encrypt(plaintext, ENCRYPT_KEY);
    }

    public static String decrypt(String cryptograph) throws Exception {
        return CryptoUtil.decrypt(cryptograph, ENCRYPT_KEY);
    }

}
